Skip to content

refactor: unify container building/testing - #1128

Open
paperbenni wants to merge 11 commits into
bioconda:masterfrom
paperbenni:remove-unused
Open

refactor: unify container building/testing#1128
paperbenni wants to merge 11 commits into
bioconda:masterfrom
paperbenni:remove-unused

Conversation

@paperbenni

@paperbenni paperbenni commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Why

All container build workflows were nearly identical and included some drift.
Some of the tests also accidentally tested a local temporary image instead of the claimed remote image.
The cos7 image being inconsistent with the rest of the building workflows also caused it to attempt to push to a private repo.

Also only one of the Dockerfile.test files was actually repeatedly tested, with the other ones testing the incorrect image.

It was possible a bug would pass PR tests but fail release CI (or get released)

What

Extract duplicated build logic into a shared action and a shared test script.

This PR also removes the superseded responder image, (bot image is the one used nowadays)

All images now use multi-arch manifests instead of architecture specific suffixes.
This means imagename-aarch64 is no longer valid, and instead all architectures simply use imagename

This will enable (and require) simplifying the bioconda-recipes workflows which use conditional image names

Fixes the bug testing the wrong image so that now all Dockerfile.test file are actually used with their correct base images

@paperbenni

Copy link
Copy Markdown
Contributor Author

new ruff is way more strict, this has been fixed in #1115

bring this more in line with other images, dont push to temporary repos
which are private
also fixes an issue where the local instead of pushed image was tested
remove unneeded param
@paperbenni paperbenni changed the title chore: remove dead image refactor: unify container building/testing Jul 31, 2026
@bgruening

Copy link
Copy Markdown
Member

This looks mostly good to me, ruff is unhappy, can you make it happy.

@bgruening

Copy link
Copy Markdown
Member

@aliciaaevans do you want to have a look, or merge after fixing ruff?

@paperbenni

Copy link
Copy Markdown
Contributor Author
image

I can, but it would basically be cherry picking thousands of lines from #1115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants